﻿using BaseNet.Core.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseNet.Core.SeedData.Dto
{
    /// <summary>
    /// 菜单dto
    /// </summary>
    public class SysMenuDto : PrivateEntityBase
    {
        /// <summary>
        /// 菜单标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }
        /// <summary>
        /// 类型(0:父级菜单，1:子集菜单)
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 打开页面方式
        /// </summary>
        public string OpenType { get; set; }
        /// <summary>
        /// 跳转链接
        /// </summary>
        public string Href { get; set; }
        /// <summary>
        /// 父级id
        /// </summary>
        public string PId { get; set; }

        /// <summary>
        /// 子集菜单列表
        /// </summary>
        public List<SysMenuDto> Children { get; set; }
    }
}
